package com.yinhai.model;

import java.io.Serializable;

import com.tgb.lk.ahibernate.annotation.Column;
import com.tgb.lk.ahibernate.annotation.Id;
import com.tgb.lk.ahibernate.annotation.Table;

/**
 * 聊天用户和分组的关联表
 * 
 *
 */
@Table(name = "im_user_group_test") 
public class IMUserGroup  implements Serializable{
	private static final long serialVersionUID = 4349017299785205448L;
	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "group_id", length = 20)
	private String groupId;
	@Column(name = "user_id", length = 11)
	private String userId;//用户ID电话号码
	@Column(name = "user_name", length = 30)
	private String userName;//用户姓名
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
}
